import  Mock from "mockjs";

Mock.mock("/api/users", "get", ()=>{
  return {
    code:200,
    message:'success',
    data:[
        {
            id:1222,
            name:'henry'
        }
    ]
  }
});

Mock.mock("/api/login", "post", ()=>{
  return {
    code:200,
    message:'success',
    result:{
      userInfo:{
            username:'admin',
            password:'123',
            addressList:[]
        }
      }
  }
});